# -*- encoding=utf-8 -*-

from froModuleDrivers.roboticArmDriver import RoboticArmDriver
from froModuleDrivers.nioManager import NioManager
from froModuleDrivers import LOGGER
import time

driver = RoboticArmDriver("192.168.3.201", 4001)
manager = NioManager(driver)
manager.run()

LOGGER.set_lvl("debug")

# 机械臂
driver.startAction(61)
time.sleep(15)

driver.startAction(71)
time.sleep(15)

manager.shutdownGracefully()
